From 096787e46c27fdca5a59f6d1c506dcb6dcb0bd79 Mon Sep 17 00:00:00 2001 From: Simon McVittie Date: Fri, 8 May 2020 22:40:15 +0100 Subject: [PATCH] Run build-time tests with a D-Bus session bus via dbus-run-session --- debian/rules | 1 + 1 file changed, 1 insertion(+) diff --git a/debian/rules b/debian/rules index 7db519eff2..0a499c142f 100755 --- a/debian/rules +++ b/debian/rules @@ -176,6 +176,7 @@ ifeq (,$(filter nocheck,$(DEB_BUILD_OPTIONS))) glib-compile-schemas debian/build/glib-2.0/schemas/ # Remove LD_PRELOAD so we don't run with fakeroot, which makes dbus-related tests fail env -u LD_PRELOAD \ + dbus-run-session -- \ xvfb-run -a -s "-screen 0 1024x768x24" \ debian/run-with-locales \ --generate de_DE.UTF-8 \ -- 2.30.2